Updated compiler 41 test, handle the exception thrown correctly#2510
Updated compiler 41 test, handle the exception thrown correctly#2510jwillemsen merged 2 commits intomasterfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughIntroduces an outer SEH __except block and an Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@ACE/tests/Compiler_Features_41_Test.cpp`:
- Around line 52-56: The outer SEH handler currently uses the broad
EXCEPTION_EXECUTE_HANDLER which will swallow any SEH; change it to filter for
the intended access violation only by using a filtered handler that checks the
exception code (e.g., replace ACE_SEH_EXCEPT (EXCEPTION_EXECUTE_HANDLER) with a
filter that uses GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION or the ACE SEH
filter macro used in Compiler_Features_39_Test.cpp) so only
EXCEPTION_ACCESS_VIOLATION sets except_executed and other faults still
propagate.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 6da8cc98-50ee-4f4a-9e96-c0e1732e4bb2
📒 Files selected for processing (1)
ACE/tests/Compiler_Features_41_Test.cpp
|
@Mergifyio backport ace6tao2 |
✅ Backports have been createdDetails
|
Updated compiler 41 test, handle the exception thrown correctly (backport #2510)
Summary by CodeRabbit